From: Sebastian Keller Date: Fri, 10 Apr 2026 20:26:53 +0000 (+0200) Subject: status/keyboard: Send activation token when launching Tecla X-Git-Tag: archive/raspbian/50.5-1+rpi1~1^2~10^2^2~65 X-Git-Url: https://dgit.raspbian.org/%22http://www.example.com/cgi/%22/%22http:/www.example.com/cgi/%22?a=commitdiff_plain;h=4c879d707f6012db7916e0fbc09b45ff48633c6f;p=gnome-shell.git status/keyboard: Send activation token when launching Tecla This ensures the window will be correctly focused, even when using strict focus mode. Part-of: --- diff --git a/js/ui/status/keyboard.js b/js/ui/status/keyboard.js index 72d15e604..4f7471ef5 100644 --- a/js/ui/status/keyboard.js +++ b/js/ui/status/keyboard.js @@ -15,7 +15,6 @@ import * as Main from '../main.js'; import * as PopupMenu from '../popupMenu.js'; import * as PanelMenu from '../panelMenu.js'; import * as SwitcherPopup from '../switcherPopup.js'; -import * as Util from '../../misc/util.js'; export const INPUT_SOURCE_TYPE_XKB = 'xkb'; export const INPUT_SOURCE_TYPE_IBUS = 'ibus'; @@ -1177,8 +1176,10 @@ class InputSourceIndicator extends PanelMenu.Button { } _showLayout() { - Main.overview.hide(); + const app = + Shell.AppSystem.get_default().lookup_app('org.gnome.Tecla.desktop'); - Util.spawn(['tecla']); + Main.overview.hide(); + app?.activate(); } });